/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ihmprojet.core.model;

import java.io.Serializable;

/**
 *
 * @author Rémi PIOTAIX <remi.piotaix@gmail.com>
 */
public class Arrete implements Serializable {

    private String nom;

    public Arrete(String nom) {
        this.nom = nom;
    }

    public Arrete() {
        this("Nom");
    }
    
    public Arrete(Arrete a){
        nom = a.getNom();
    }

    public String getNom() {
        return nom;
    }
    
    

    @Override
    public String toString() {
        return nom;
    }
}
